package Server.ServerMainFrame.ServerMainFrameController;

import Server.ServerMainFrame.ServerMainFrameView.*;
import Server.ServerMainFrame.ServerMainFrameModel.*;
import Server.ServerMainFrame.ServerMainFrameController.*;


import Server.Login.Model.*;
import Server.Login.Controller.*;

public class ServerMainFrameController 
{
    public void initialize(ServerLoginModel model, ServerLoginController controller)
    {
    	getView().exitButton.addActionListener(new ExitButtonListener(getView()));
    }
    public void setViewAndModel(ServerMainFrameView view, ServerMainFrameModel model)
    {
        this.serverMainFrmaeView = view;
        this.serverMainFrameModel = model;
    }
    
    public ServerMainFrameView getView()
    {
    	return this.serverMainFrmaeView;
    }
    public ServerMainFrameModel getModel()
    {
    	return this.serverMainFrameModel;
    }
    
    private ServerLoginModel serverLoginModel;
    private ServerLoginController serverLoginController;
    
    private ServerMainFrameView serverMainFrmaeView;
    private ServerMainFrameModel serverMainFrameModel;
}
